package cn.bx.bid;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("cn.bx.bid.dao")
@EnableCaching
@EnableSwagger2
/*
* 1:加上依赖
2:application配置redis信息

3：@EnableCache

4:CacheName：
5：配置清除策略

6：devtools去掉
* */
public class BidApplication {

    public static void main(String[] args) {
        SpringApplication.run(BidApplication.class, args);
    }

}
